home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 5817 / 5817.xpi / defaults / preferences / sqlitemanager.js
Text File  |  2010-02-11  |  4KB  |  85 lines

  1. //localized description for this extension
  2. pref("extensions.{SQLiteManager@mrinalkant.blogspot.com}.description", "chrome://sqlitemanager/locale/strings.properties");
  3.  
  4. //position in target application (only Firefox) as a menuitem
  5. //As of now, 1 stands for show menuitem in Tools menu. 0 means hide it.
  6. //for other values do nothing
  7. pref("extensions.sqlitemanager.posInTargetApp", 1);
  8.  
  9. pref("extensions.sqlitemanager.autoBackup", "off");//on, off, prompt
  10.  
  11. //openmode: 1=chrome window, 2=tab
  12. pref("extensions.sqlitemanager.openMode", 1);
  13.  
  14. //false = do not open any db on start, true = open last used db on start
  15. pref("extensions.sqlitemanager.openWithLastDb", true);
  16. pref("extensions.sqlitemanager.promptForLastDb", true);
  17.  
  18. //how many records to display when browsing and searching; -1 means all
  19. pref("extensions.sqlitemanager.displayNumRecords", 100);
  20.  
  21. pref("extensions.sqlitemanager.userDir", "");
  22.  
  23. //related to main toolbar area and the included toolbars
  24. pref("extensions.sqlitemanager.hideMainToolbar", false);
  25. pref("extensions.sqlitemanager.showMainToolbarDatabase", true);
  26. pref("extensions.sqlitemanager.showMainToolbarTable", true);
  27. pref("extensions.sqlitemanager.showMainToolbarIndex", true);
  28. pref("extensions.sqlitemanager.showMainToolbarDebug", false);
  29.  
  30. //default extension for sqlite db files
  31. pref("extensions.sqlitemanager.sqliteFileExtensions", "sqlite");
  32.  
  33. //for search
  34. pref("extensions.sqlitemanager.searchToggler", true);
  35. pref("extensions.sqlitemanager.searchCriteria", "");
  36.  
  37. //for confirmation prompt before executing queries
  38. //pref("extensions.sqlitemanager.confirmOperations", ":rowInsert=1:rowUpdate=1:rowDelete=1:create=1:otherSql=1:");
  39. pref("extensions.sqlitemanager.confirm.records", true);
  40. pref("extensions.sqlitemanager.confirm.create", true);
  41. pref("extensions.sqlitemanager.confirm.otherSql", true);
  42.  
  43. //for extension management table name
  44. pref("extensions.sqlitemanager.tableForExtensionManagement", "__sm_ext_mgmt");
  45.  
  46. //for max number of columns in create table dialog
  47. pref("extensions.sqlitemanager.maxColumnsInTable", 20);
  48.  
  49. //Blob related
  50. //text to show for blob fields for increased performance
  51. pref("extensions.sqlitemanager.textForBlob", "BLOB");
  52. //display size of blob in the blob fields (gives better idea of data)
  53. pref("extensions.sqlitemanager.showBlobSize", true);
  54. //max size of blob to display as string (convert to string)
  55. pref("extensions.sqlitemanager.maxSizeToShowBlobData", 50);
  56. //how to show data: 0=hex, 1=string
  57. pref("extensions.sqlitemanager.blob.howToShowData", 0);
  58.  
  59. //unsafe alter table operations (delete/alter column) are disabled by default
  60. //pref("extensions.sqlitemanager.allowUnsafeTableAlteration", false);
  61.  
  62. //handle ADS
  63. pref("extensions.sqlitemanager.handleADS", 0);
  64.  
  65. //handle ADS
  66. pref("extensions.sqlitemanager.identifierQuoteChar", '""');
  67.  
  68. //not frozen
  69. //allowed values: previous/default
  70. pref("extensions.sqlitemanager.whenInsertingShow", "previous");
  71. //full path of dir where smFunctions.sqlite is located.
  72. //This db stores user-defined functions (udf).
  73. pref("extensions.sqlitemanager.udfDbDirPath", "");
  74.  
  75. //duration (in seconds) of display of notification messages
  76. pref("extensions.sqlitemanager.notificationDuration", 4);
  77.  
  78. //stores JSON object for MRU
  79. pref("extensions.sqlitemanager.jsonMruData", '{"meta":{"version":"1"},"size":10,"list":[]}');
  80.  
  81. //stores JSON object for data tree style.
  82. pref("extensions.sqlitemanager.jsonDataTreeStyle", '{"meta":{"version":"1"},"setting":"default","nullvalue":{"unselected":{"background-color":"#ffcccc","color":"#000000"},"selected":{"background-color":"#ff6666","color":"#ffffff"}},"integervalue":{"unselected":{"background-color":"#ccffcc","color":"#000000"},"selected":{"background-color":"#339933","color":"#ffffff"}},"floatvalue":{"unselected":{"background-color":"#ccffcc","color":"#000000"},"selected":{"background-color":"#339933","color":"#ffffff"}},"textvalue":{"unselected":{"background-color":"#ccffff","color":"#000000"},"selected":{"background-color":"#000066","color":"#ffffff"}},"blobvalue":{"unselected":{"background-color":"#ccccff","color":"#000000"},"selected":{"background-color":"#333399","color":"#ffffff"}}}');
  83. //stores JSON object for export/import settings.
  84. pref("extensions.sqlitemanager.jsonEximSettings", '{"meta":{"version":"1"},"csv":{"export":{"separator":",","encloser":"din","includeColNames":false},"import":{"separator":",","encloser":"din"}}}');
  85.